/**
 * fulihui.com Inc.
 * Copyright (c) 2015-2016 All Rights Reserved.
 */
package com.fulihui.integral.core.enums;

import org.near.toolkit.model.BaseEnum;

/**
 * 兑换类型
 *
 * @author yunfeng.li
 * @version $Id: v 0.1 2017年04月27日 13:37 yunfeng.li Exp $
 */
public enum ISConvertType implements BaseEnum {

    CASH("CASH", "金额"),

    DRAW("DRAW", "转盘抽奖次数"),

    GOODS("GOODS", "商品"),;

    private String code;
    private String desc;

    ISConvertType(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    /**
     * 获取枚举代码
     */
    @Override
    public String getCode() {
        return code;
    }

    /**
     * 获取枚举描述
     */
    @Override
    public String getDesc() {
        return desc;
    }
}
